package cn.hh.service.impl;

import cn.hh.bean.User;
import cn.hh.bean.dto.UserDTO;
import cn.hh.mapper.UserMapper;
import cn.hh.service.IUserService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author huangh
 * @date 2021/09/28
 * @Description:
 */
@Service
public class IUserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    private UserMapper userMapper;

    @Override
    public void listPage(Page<User> page, UserDTO para) {
        IPage<User> result = userMapper.selectPage(page, null);
    }
}
